
ul.products-box {
    /*position: relative;*/
    overflow: hidden;
    list-style: none;
    padding: 2px;

}

ul.products-box li {
    position: relative;
    width: 140px;
    margin: 4px 4px 10px;
    float: left;
    height: 180px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
}

ul.products-box li:hover {
    box-shadow: 0px 5px 14px -5px #64375D;
    transition: box-shadow 0.6s;
    -moz-transition: box-shadow 0.6s;
    -webkit-transition: box-shadow 0.6s;
    -o-transition: box-shadow 0.6s;
}

ul.products-box li a {
    display: block;
    overflow: hidden;
    height: 126px;
    transition: box-shadow 0.6s;
    -moz-transition: box-shadow 0.6s;
    -webkit-transition: box-shadow 0.6s;
    -o-transition: box-shadow 0.6s;
}

ul.products-box li a:hover {
    border: 1px solid #eaf2f9;
    box-shadow: 0 2px 10px -5px #000;

}

ul.products-box li img {
    position: absolute;
    left: 2px;
    top: 2px;
    display: block;
    width: 132px;
    height: 124px;
    z-index: 1;
    border: none;
}

ul.products-box li .pname {
    margin-top: 3px;
    position: absolute;
    padding-bottom: 5px;
    left: 3px;
    top: 130px;
    width: 135px;
    height: 40px;
    overflow: hidden;
    text-align: center;
    font-size: 14px;
    font-family: "Times New Roman", sans-serif;
    color: #7958b0;
    text-shadow: 1px 0 1px #fff;
    font-weight: bold;
    transition: color 1s;
    -moz-transition: color 1s;
    -webkit-transition: color 1s;
    -o-transition: color 1s;

    font-size: 14px;
    line-height: 100%;
    overflow: hidden;
}

ul.products-box li:hover .pname {
    color: #ff60ef;
}

ul.products-box li .pprice {
    position: absolute;
    left: 3px;
    top: 160px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    width: 130px;
    background: #fff;
}

ul.products-box li .pprice em {
    font-size: 16px;
}

ul.products-box a.pbuy {
    background: transparent url(../img/shopcartadd.jpg) no-repeat top right;
    height: 32px;
    width: 32px;
    position: absolute;
    right: 2px;
    top: 2px;
    z-index: 10;
    text-indent: -999px;
    display: block;
    transition: box-shadow 0.6s;
    -moz-transition: box-shadow 0.6s;
    -webkit-transition: box-shadow 0.6s;
    -o-transition: box-shadow 0.6s;
}

ul.products-box a.pbuy:hover {
    border: 1px solid #dc9dff;
    box-shadow: 0 3px 5px -2px #000;
}


span.khuyenmai {
    width: 60px;
    height: 20px;
    background: url(../img/saleoff.png) no-repeat top left;
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: 10;
    text-indent: -9999px;
}

span.khuyenmai {
    display: none;
}

span.khuyenmai.on {
    display: block;
}